.class public Lcom/instagram/android/d/e/y;
.super Lcom/instagram/android/d/e/s;
.source "PhotosOfYouFeedRequest.java"


# instance fields
.field private final a:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/fragment/d;",
            "I",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 31
    invoke-direct {p0, p1, p2, p3}, Lcom/instagram/android/d/e/s;-><init>(Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;)V

    .line 32
    iput-object p4, p0, Lcom/instagram/android/d/e/y;->a:Ljava/lang/String;

    .line 33
    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;Lcom/fasterxml/jackson/a/l;Lcom/instagram/android/d/j/r;)Z
    .locals 3
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/fasterxml/jackson/a/l;",
            "Lcom/instagram/android/d/j/r",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)Z"
        }
    .end annotation

    .prologue
    .line 43
    invoke-virtual {p3}, Lcom/instagram/android/d/j/r;->h()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/k;

    .line 44
    const-string v1, "requires_review"

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 46
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 48
    if-nez v0, :cond_0

    .line 49
    new-instance v0, Lcom/instagram/android/model/k;

    invoke-direct {v0}, Lcom/instagram/android/model/k;-><init>()V

    .line 50
    invoke-virtual {p3, v0}, Lcom/instagram/android/d/j/r;->a(Ljava/lang/Object;)V

    .line 53
    :cond_0
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    .line 54
    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/d/e/y;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 55
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/l;->getBooleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/e;->a(Z)V

    .line 56
    invoke-static {}, Lcom/instagram/service/d;->a()Lcom/instagram/service/d;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/service/d;->b(Lcom/instagram/android/model/b/e;)Lcom/instagram/android/model/b/e;

    .line 59
    :cond_1
    const/4 v0, 0x1

    .line 62
    :goto_0
    return v0

    :cond_2
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/android/d/e/s;->a(Ljava/lang/String;Lcom/fasterxml/jackson/a/l;Lcom/instagram/android/d/j/r;)Z

    move-result v0

    goto :goto_0
.end method

.method protected j()Ljava/lang/String;
    .locals 4

    .prologue
    .line 37
    const-string v0, "usertags/%s/feed/"

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/instagram/android/d/e/y;->a:Ljava/lang/String;

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Lcom/instagram/n/i;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
